package com.cowin.sys.service.impl;

import com.cowin.sys.dao.TmBasLineMapper;
import com.cowin.sys.model.TmBasLine;
import com.cowin.sys.service.TmBasLineService;
import com.cowin.base.AbstractServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;


/**
 * Created by  on 2019/11/19.
 * @author CodeGenerator
 */
@Slf4j
@Service
@Transactional(rollbackFor = RuntimeException.class)
public class TmBasLineServiceImpl extends AbstractServiceImpl<TmBasLine> implements TmBasLineService {

    @Resource
    private TmBasLineMapper tmBasLineMapper;

    @Override
    public TmBasLine getLineInfoByLineNo(String lineNo) {
        return tmBasLineMapper.getLineInfoByLineNo(lineNo);
    }
}
